package com.msun.service;

import com.msun.entity.PageResult;
import com.msun.entity.QueryPageBean;
import com.msun.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealService {
    public void add(Setmeal setmeal, Integer[] checkgroupIds);
    public PageResult pageQuery(QueryPageBean queryPageBean);
    public List<Setmeal> findAll();
    public Setmeal findById(int id);
    public List<Map<String,Object>> findSetmealCount();
    Setmeal findSetmealById(Integer id);
    void edit(Map<String, Object> map);
    void delete(Integer id);
    Setmeal setmealInfoById(Integer setMealId);
    // 后台用的接口
    PageResult findPage(QueryPageBean queryPageBean);

    void save(Map<String, Object> map);
}